import { uint } from "tsrpc-proto";

export interface ISubWorldState {
    id: string,
    displayId:string,
    configId: string,
    name: string,
    userNum: uint,
    maxUserNum: uint,
    playerNum: uint,
    maxPlayerNum: uint,
    /** 为 undefined 代表不在匹配中 */
    startMatchTime?: uint,
    // 信息的最后更新时间
    updateTime: uint,
    //进入密码
    password?: string,
}

export interface MsgUpdateSubWorldState {
    connNum: uint,
    subWorlds: ISubWorldState[]
}

// export const conf = {}